#include "FlowController.h"

FlowController::FlowController()
	: m_currentWindow(NULL)
{}

FlowController::~FlowController()
{}

void FlowController::SetCurrentWindow(GtkWidget* newWindow)
{
	if(m_currentWindow)
		gtk_widget_hide(m_currentWindow);

	m_currentWindow = newWindow;
	gtk_widget_show(m_currentWindow);
}

void FlowController::CloseCurrentWindow()
{
	if(m_currentWindow)
		gtk_widget_hide(m_currentWindow);

	m_currentWindow = NULL;
}